<?php $this->Html->addCrumb('Restore Content Pages');?>


<?php if (isset($options) && !empty($options)) { ?>

  <?php echo $this->Session->flash();?>

<p>Select a content page below to view previous versions of that page. You will be able to restore to a previous version of the page.</p>

<?php
  echo '<ul>';
  foreach ($options as $key=>$value) {
   echo '<li>'.$this->Html->link($value, array("controller"=>"contents","action"=>"view",$key)).'</li>';
  }
  echo '</ul>';

?>

<?php } else {

  echo '<p>No content pages are currently available for editing.</p>';

}

?>

